<html>
<head>
<script src="http://maps.google.com/maps?file=api&amp;v=2&amp;key=<?=$this->load->view('googlemapsapi');?>" type="text/javascript"></script>
<script type="text/javascript" language="JavaScript" src="<?=site_url('js/jquery-1.2.3.pack.js')?>"></script>
<script type="text/javascript">

function load(){
	if (GBrowserIsCompatible()) {
		var map = new GMap2(document.getElementById("map_view"));
		map.disableDragging();
		var geocode = new GLatLng(<?=$geocode?>);
        map.setCenter(geocode,15);
		var marker = new GMarker(geocode);
		map.addOverlay(marker);
		var mapControl = new GMapTypeControl();
		var bottomRight = new GControlPosition(G_ANCHOR_BOTTOM_RIGHT, new GSize(10,10));
		map.addControl(mapControl,bottomRight);
		map.checkResize();
      }
}
    $(document).ready(function() {
		setTimeout("load()",750);
});
	$("body").unload( function() { GUnload();});
</script>
</head>
<body>
<div id="map_view" style="height:300px; width:500px;"></div>
<br />
</body>
</html>